﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShopB2C.Business.Models.Classify {
    [Serializable]
    public class EClassifyProperty {
        /// <summary>
        /// 分类扩展属性ID，自增ID，主键
        /// </summary>
        public Int32 PropertyId { get; set; }
        /// <summary>
        /// 属性名称
        /// </summary>
        public String Name { get; set; }
        /// <summary>
        /// 排序ID
        /// </summary>
        public Int32 Sequence { get; set; }
        /// <summary>
        /// 是否为多选属性
        /// </summary>
        public Boolean IsMultiple { get; set; }
        /// <summary>
        /// 是否参加搜索
        /// </summary>
        public Boolean IsSearch { get; set; }
        /// <summary>
        /// 分类ID，外键关联
        /// </summary>
        public Int32 ClassifyId { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public EClassify Classify { get; set; }
        /// <summary>
        /// 属性值集
        /// </summary>
        public virtual List<EClassifyPropertyVal> ClassifyPropertyValList { get; set; }
    }
}
